package com.terrynoya.Resource.lib
{
	/**
	 * 查找成功时返回的句柄
	 * 返回这个Linkage中在库中的index
	 * @author TerryYao
	 */
	public class LinkageFoundHandler
	{
		private var _lib:ExternalLibrary;
		private var _index:int;
		
		/**
		 * 
		 * @param lib
		 * @param index
		 */
		public function LinkageFoundHandler(lib:ExternalLibrary,index:int)
		{
			this._index = index;
			this._lib = lib;
		}
		
		/**
		 * 
		 * @return 
		 */
		public function get lib():ExternalLibrary
		{
			return this._lib;
		}
		
		/**
		 * 
		 * @return 
		 */
		public function get index():int
		{
			return this._index;
		}
	}
}